combineWords

open fun combineWords(fields: List<String>?): String?

Concatenate all of the strings in the given list with spaces between each but skipping null or empty strings. You can pass a List with entries such as "field1", null, "field3", "", "field4" and will get back "field1 field3 field4".

Since

Moneydance 2022.3 build 4063


fun combineWords(fields: List<String>?, avoidRepeating: Boolean): String?

Concatenate all of the strings in the given list with spaces between each but skipping null or empty strings. You can pass a List with entries such as "field1", null, "field3", "", "field4" and will get back "field1 field3 field4". If the avoidRepeating flag is true then this will not add any fields that already exist in the combined string so far.

Since

Moneydance 2022.3 build 4063